SetPaletteFromImage
Refreshs the current palette according to the colors of tthe current image.
Syntax: | imaG.SetPaletteFromImage |
Returns: | (empty) |
If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.
See also SetImageFromPalette , Soften , Sharpen